﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VK.Comm;

namespace VK.Casemeet.Web
{
    public partial class Map : System.Web.UI.Page
    {
        //type 1:大 2:小
        public int zoom = 13, type = 1, width = 100, height = 100;
        public string map = string.Empty, title = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            zoom = Util.GetQueryInt("zoom");
            zoom = zoom == 0 ? 13 : zoom;

            map = Util.GetQueryString("map");
            map = string.IsNullOrEmpty(map) ? "31.2316, 121.4648" : map;

            title = Util.GetQueryString("title");

            type = Util.GetQueryInt("type");
            type = type == 0 ? 1 : type;

            width = Util.GetQueryInt("width");
            height = Util.GetQueryInt("height");
        }
    }
}